/* Dracula文档主题 */
.markdown-theme-dracula {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #f8f8f2;
  background-color: #282a36;
}

.markdown-theme-dracula h1,
.markdown-theme-dracula h2,
.markdown-theme-dracula h3,
.markdown-theme-dracula h4,
.markdown-theme-dracula h5,
.markdown-theme-dracula h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #ff79c6;
}

.markdown-theme-dracula h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #44475a;
  padding-bottom: 0.3em;
}

.markdown-theme-dracula h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #44475a;
  padding-bottom: 0.3em;
}

.markdown-theme-dracula h3 {
  font-size: 1.25em;
}

.markdown-theme-dracula h4 {
  font-size: 1em;
}

.markdown-theme-dracula h5 {
  font-size: 0.875em;
}

.markdown-theme-dracula h6 {
  font-size: 0.85em;
  color: #bd93f9;
}

.markdown-theme-dracula p {
  margin-bottom: 16px;
}

.markdown-theme-dracula a {
  color: #8be9fd;
  text-decoration: none;
}

.markdown-theme-dracula a:hover {
  text-decoration: underline;
}

.markdown-theme-dracula strong {
  font-weight: 600;
  color: #ff79c6;
}

.markdown-theme-dracula em {
  font-style: italic;
  color: #f1fa8c;
}

.markdown-theme-dracula del {
  text-decoration: line-through;
}

.markdown-theme-dracula ul,
.markdown-theme-dracula ol {
  padding-left: 2em;
  margin-bottom: 16px;
}

.markdown-theme-dracula ul {
  list-style-type: disc;
}

.markdown-theme-dracula ol {
  list-style-type: decimal;
}

.markdown-theme-dracula li {
  margin-bottom: 0.25em;
}

.markdown-theme-dracula blockquote {
  padding: 0 1em;
  color: #bd93f9;
  border-left: 0.25em solid #6272a4;
  margin-bottom: 16px;
}

.markdown-theme-dracula code {
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  background-color: #44475a;
  border-radius: 3px;
  padding: 0.2em 0.4em;
  color: #f8f8f2;
}

.markdown-theme-dracula pre {
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  background-color: #44475a;
  border-radius: 3px;
  padding: 16px;
  overflow: auto;
  margin-bottom: 16px;
}

.markdown-theme-dracula pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.markdown-theme-dracula table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}

.markdown-theme-dracula table th,
.markdown-theme-dracula table td {
  border: 1px solid #44475a;
  padding: 6px 13px;
}

.markdown-theme-dracula table th {
  background-color: #44475a;
  font-weight: 600;
  color: #ff79c6;
}

.markdown-theme-dracula table tr {
  background-color: #282a36;
  border-top: 1px solid #44475a;
}

.markdown-theme-dracula table tr:nth-child(2n) {
  background-color: #383a59;
}

.markdown-theme-dracula img {
  max-width: 100%;
  box-sizing: content-box;
}

.markdown-theme-dracula hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: #44475a;
  border: 0;
}

/* 亮色模式 */
.light-mode .markdown-theme-dracula {
  color: #282a36;
  background-color: #f8f8f2;
}

.light-mode .markdown-theme-dracula h1,
.light-mode .markdown-theme-dracula h2,
.light-mode .markdown-theme-dracula h3,
.light-mode .markdown-theme-dracula h4,
.light-mode .markdown-theme-dracula h5 {
  color: #bd93f9;
}

.light-mode .markdown-theme-dracula h1,
.light-mode .markdown-theme-dracula h2 {
  border-bottom-color: #e8e8e2;
}

.light-mode .markdown-theme-dracula h6 {
  color: #6272a4;
}

.light-mode .markdown-theme-dracula a {
  color: #6272a4;
}

.light-mode .markdown-theme-dracula strong {
  color: #bd93f9;
}

.light-mode .markdown-theme-dracula em {
  color: #50fa7b;
}

.light-mode .markdown-theme-dracula blockquote {
  color: #6272a4;
  border-left-color: #bd93f9;
}

.light-mode .markdown-theme-dracula code {
  background-color: #e8e8e2;
  color: #282a36;
}

.light-mode .markdown-theme-dracula pre {
  background-color: #e8e8e2;
}

.light-mode .markdown-theme-dracula table th,
.light-mode .markdown-theme-dracula table td {
  border-color: #e8e8e2;
}

.light-mode .markdown-theme-dracula table th {
  background-color: #e8e8e2;
  color: #bd93f9;
}

.light-mode .markdown-theme-dracula table tr {
  background-color: #f8f8f2;
  border-top-color: #e8e8e2;
}

.light-mode .markdown-theme-dracula table tr:nth-child(2n) {
  background-color: #f1f1eb;
}

.light-mode .markdown-theme-dracula hr {
  background-color: #e8e8e2;
} 